import type { Mapping, Option } from "@/components/ProFrom/ProFrom.vue";

export const queryFormMap: Mapping[] = [
  { label: "监测时间", type: "date-range", prop: "monitoringTime", col: 6 },
];

export const editFormMap = [
  {
    label: "“浙江地震”搜索相关数据",
    type: "input-number",
    prop: "zjdzStatistics",
  },
  {
    label: "“地震”浙江地域信息数据",
    type: "input-number",
    prop: "zjdyStatistics",
  },
  {
    label: "监测时间",
    type: "date",
    prop: "monitoringTime",
    dateFormat: "YYYY-MM-DD",
  },
  { label: "舆情研判", type: "textarea", prop: "studyJudge" },
  { label: "上传附件", type: "upload", prop: "filePath" },
].map((e) => ({ ...e, required: true })) as Mapping[];
